package com.meitianhui.convenitenbuy.module.mine.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.meitianhui.convenitenbuy.R;
import com.meitianhui.convenitenbuy.module.mine.model.GroupBean;

import java.util.List;

/**
Created by amy on 2017/11/22.
 */

public class MsgGroupAdapter extends BaseQuickAdapter<GroupBean, BaseViewHolder> {
    public MsgGroupAdapter(@Nullable List<GroupBean> data) {
        super(R.layout.item_group_list, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, GroupBean item) {
        //暂时只需要设置名字就好
        helper.setText(R.id.item_group_name, item.getName());
    }

}
